const {Model, DataTypes} = require('sequelize');
const sequelize = require('../../core/db');

class AdminProfile extends Model {}

AdminProfile.init({
  id: {
    type: DataTypes.INTEGER.UNSIGNED
    , primaryKey: true
    , autoIncrement: true
  }
  , age: DataTypes.STRING
  , sex: DataTypes.STRING
  , job: DataTypes.STRING
}, {
  sequelize
  , tableName: 'adminprofile'
});

module.exports = AdminProfile;
